// Dialogconfig.cpp : implementation file
//

#include "stdafx.h"
#include "PolygonLeaf.h"
#include "Dialogconfig.h"


// CDialogconfig dialog

IMPLEMENT_DYNAMIC(CDialogconfig, CDialog)

CDialogconfig::CDialogconfig(CWnd* pParent /*=NULL*/)
	: CDialog(CDialogconfig::IDD, pParent)
	, size_x(512)
	, size_y(512)
	, size_z(227)
{

}

CDialogconfig::~CDialogconfig()
{
}

void CDialogconfig::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text (pDX, IDC_EDIT1, size_x);
	DDX_Text (pDX, IDC_EDIT2, size_y);
	DDX_Text (pDX, IDC_EDIT3, size_z);

}


BEGIN_MESSAGE_MAP(CDialogconfig, CDialog)
	ON_EN_CHANGE(IDC_EDIT2, &CDialogconfig::OnEnChangeEdit2)
END_MESSAGE_MAP()


// CDialogconfig message handlers

void CDialogconfig::OnEnChangeEdit2()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.

	// TODO:  Add your control notification handler code here
}
